/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package abricots.entity.command;

import abricots.command.Command;
import abricots.net.common.GameMessage.CommandsMessage;
import java.util.List;

/**
 *
 * @author charly
 */
public interface EntityCommandManager {
   public List<Command> getCommands();

   public CommandsMessage buildCommandMessage(long fromTime, long toTime);

   public void clearAllBefore(long gameTime);

//   private void addCommand(int commandId, boolean started, long gameTime);
   public void addCommand(Command command);

   public void addCommands(List<Command> commands);

   public long getLastCommandTime();
}
